<!DOCTYPE html>
    <html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
        <meta name="description" content="">
        <title>Off Canvas Template for Bootstrap</title>
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
        <link href="http://v3.bootcss.com/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
        <link href="/static/pc/cmgd.css" rel="stylesheet">
        <link rel="stylesheet" href="/static/pc/swiper.3.2.0.min.css">

        <link rel="stylesheet" type="text/css" href="/static/admin/webupload/webuploader.css">
        <link rel="stylesheet" type="text/css" href="/static/admin/webupload/style.css">

        <!--[if lt IE 9]><script src="http://v3.bootcss.com/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
        <script src="http://v3.bootcss.com/assets/js/ie-emulation-modes-warning.js"></script>
        <!--[if lt IE 9]>
        <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

        <script src="/static/admin/js/jquery.min.js?v=2.1.4"></script>
        <script src="/static/admin/js/jquery.form.js"></script>
        <script src="/static/admin/js/plugins/layer/laydate/laydate.js"></script>
        <script src="/static/pc/js/layer/layer.js"></script>
        <script src="/static/admin/js/laypage/laypage.js"></script>
        <script src="/static/admin/js/laytpl/laytpl.js"></script>
        <link href="/static/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
        <style>
            .list-group-item:first-child        {border-radius: 0px;}
            .fa{padding-right: 5px;font-size:22px;}
            .list-group-item{font-size:16px;}
            .panel-heading{background: #f5f5f5;}
            .panel-primary>.panel-heading {
                color: #fff;
                background-color: #2fab87;
                border-color: #2fab87;
            }

            .panel-primary {
                border-color: #2fab87;
            }
        </style>
    </head>

    <body>
    {include file="public/header2" /}
    <div class="container body_bg" style="margin-top:80px;">

        <div class="row row-offcanvas row-offcanvas-right">
            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                <div style="width: 100%;height:80px;border:1px solid #ddd;border-bottom:0px solid #ddd;padding-top: 10px;padding-left: 10px;" >
                    <div style="width:60px;float: left;margin-right:10px;">
                        <img src="/uploads/face/{$member.head_img}" style="width: 60px;height: 60px;">
                    </div>
                    <div style="float: left;width: 178px;">
                        <div style="width: 178px;overflow: hidden;padding-top: 3px;">{$member.nickname}</div>
                        <div style="width: 178px;overflow: hidden;padding-top: 12px;">ID:{$member.account}</div>
                    </div>
                </div>
                <div class="list-group">
                    <a href="{:url('write')}" class="list-group-item "><i class="fa fa-pencil-square-o "></i>写文章</a>
                    <a href="{:url('write_debate')}" class="list-group-item"><i class="fa fa fa-comment-o "></i>论话题</a>
                    <a href="{:url('myessay')}" class="list-group-item"><i class="fa fa-file-text-o "></i>已投征文</a>
                    <a href="{:url('draft')}" class="list-group-item"><i class="fa fa-folder-open-o "></i>我的草稿箱</a>
                    <a href="{:url('collect')}" class="list-group-item"><i class="fa fa-heart-o "></i>我的收藏</a>
                    <a href="{:url('temp_message')}" class="list-group-item"><i class="fa fa-bell-o "></i>模板消息</a>
                </div>
            </div><!--/.sidebar-offcanvas-->
            <div class="col-xs-12 col-sm-9">

                <div class="panel panel-primary">
                    <div class="panel-heading" >
                        模板消息详情
                    </div>
                    <div class="panel-body">
                        <div class="wrapper wrapper-content animated fadeInRight">
                            <div class="row">
                                <div class="col-sm-12">
                                    <label class="col-sm-2 control-label">消息类型：</label>
                                    <label class="col-sm-4 control-label">{$info.temp}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-2 control-label">发送范围：</label>
                                    <label class="col-sm-4 control-label">{$info.duixiang}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-2 control-label">发送时间：</label>
                                    <label class="col-sm-4 control-label">{$info.addtime1}</label>
                                </div>


                                <div class="col-sm-12">
                                    <label class="col-sm-2 control-label">详细详情：</label>
                                </div>

                                {if condition="$info.temp=='作业提醒'"}
                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">{$content.first}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">时间:{$content.keyword1}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">科目:{$content.keyword2}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">作业简介:{$content.keyword3}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">作业详情:{$content.keyword4}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">{$content.remark}</label>
                                </div>
                                {/if}


                                {if condition="$info.temp=='班级通知'"}
                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">{$content.first}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">所在班级:{$content.keyword1}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">通知老师:{$content.keyword2}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">通知时间:{$content.keyword3}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">通知内容:{$content.keyword4}</label>
                                </div>

                                <div class="col-sm-12">
                                    <label class="col-sm-1 control-label"></label>
                                    <label class="col-sm-6 control-label">{$content.remark}</label>
                                </div>
                                {/if}

                            </div>

                        </div>


                        </div>
                </div>
            </div>
        </div><!--/row-->

        <hr>

        <footer  style="text-align: center;">
            <p>&copy; Company 2017</p>
        </footer>

    </div><!--/.container-->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->



    </body>
    </html>
